it be done manually ?
Thanks for your help.
List :
Command/ attachment
Command/ background
Command/ bar
Command/ beginblock
Command/ button
Command/ characterkerning
Command/ comment
Command/ completecombinedlist
Command/ completelistoffloats
Command/ completelistofsorts
Command/ completeli
On Wed, 17 Nov 2021 11:54:52 -0700, Hans Hagen via ntg-context
wrote:
Blocks are a better mechanism, but I still prefer modes here because I
find the \beginblock ... \endblock syntax to be a bit awkward in a
context document.
it also depends on usage ... you can have blocks and delay
]
\stopmode
\starttext
\startabridged
\input knuth
\startunabridged
\startblockquote
\input ward
\stopblockquote
\stopunabridged
\input zapf
\stopabridged
Blocks are a better mechanism, but I still prefer modes here because I find the
\beginblock ... \endblock syntax to be a bit awkward in a context
gt; \stopmode
>
> % \startmode[abridged]
> % \input zapf
> % \stopmode
> \stoptext
> ===
>
> Unfortunately - as pointed out on the wiki - modes cannot be nested.
But you don't have to directly use the modes. The following will work:
\definestartstop[abridged]
blocks quite
>> frequently …)
>> I just realized they are probably handled very differently during the
>> typesetting. Basically I would just need to test if during the first run any
>> of \beginBLOCK … \endBLOCK was invoked (but if one gets a test for some
>> content in-be
commands that test for empty "objects".
Is there an option for testing blocks? (I actually use blocks quite frequently
…)
I just realized they are probably handled very differently during the
typesetting. Basically I would just need to test if during the first run any of
\beginBLOCK …
commands that test for empty "objects".
Is there an option for testing blocks? (I actually use blocks quite frequently
…)
I just realized they are probably handled very differently during the
typesetting. Basically I would just need to test if during the first run any of
\beginBLOCK …
an option for testing blocks? (I actually use blocks quite frequently
…)
I just realized they are probably handled very differently during the
typesetting. Basically I would just need to test if during the first run any of
\beginBLOCK … \endBLOCK was invoked (but if one gets a test for some content
---
\defineblock[Block]
\defineenumeration[Enum][location=left,text=Test]
\setupblock[Block][before=\startEnum,after=\stopEnum]
\keepblocks[Block]
\starttext
\section{Use}
\useblocks[Block]
\reset[Enum]
\section{Define}
\beginBlock
jhdsa hdsfhj lh dsfjh jkhasdf
sdakjhfsal sdkajhf kljsdh
Hello,
I'm having some problems using blocks and enumeration together.
I can get it to work using something like this (see complete minimal example
further down):
\beginBlock
\startEnum
Some text A
\stopEnum
\endBlock
But it doesn't seem to work
Am 18.11.2010 um 12:15 schrieb Glen Callaghan:
Hello,
I'm having some problems using blocks and enumeration together.
I can get it to work using something like this (see complete minimal example
further down):
\beginBlock
\startEnum
Some text A
\stopEnum
Good evening.
How can I include \beginblock ... \endblock into a macro?
I have defined:
\defineblock[question]
\defineblock[answer]
\defineenumeration[question][location=serried, coupling=answer]
\defineenumeration[answer][location=serried, coupling=answer]
\hideblocks[answer]
I'd
12 matches
Mail list logo